<template>
  <div>
    <van-nav-bar
      :title="title"
      left-arrow
      @click-left="$router.go(-1)"
    />
  </div>
</template>

<script>
export default {
  props: {
    title: {
      type: String,
      required: true
    }
  }
}
</script>

<style lang="scss" scoped>
/deep/ .van-nav-bar{
  background-color: #f88;
  .van-nav-bar__title{
    color: #fff;
  }
  .van-icon{
    font-size: 22px;
    color:#fff;
  }
  position:fixed;
  width: 100%;
  top:0;
  left:0;
  z-index: 10;
}
</style>
